package com.tyk.bookstore.back.logistics.model.query;

import com.baomidou.mybatisplus.annotation.TableField;
import com.tyk.bookstore.back.logistics.model.enume.WaybillState;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class WaybillAddQuery {
    @Schema(description = "用户ID")
    private Long memberId;
    @Schema(description = "订单ID")
    private Long orderId;
    @Schema(description = "物流单号")
    private String trackingNo;
    @Schema(description = "货物重量[单位：克]")
    private Long goodWeight;
    @Schema(description = "运费")
    private BigDecimal freightFee;
    @Schema(description = "仓库ID")
    private Long warehouseId;
    @Schema(description = "快递公司ID")
    private Long expressCompanyId;
    @Schema(description = "状态")
    private WaybillState state;
    @Schema(description = "寄件人姓名")
    private String senderName;
    @Schema(description = "寄件人电话")
    private String senderPhone;
    @Schema(description = "寄件人所在区域ID")
    private Long senderAreaId;
    @Schema(description = "寄件人地址")
    private String senderAddress;
    @Schema(description = "收件人姓名")
    private String consigneeName;
    @Schema(description = "收件人电话")
    @TableField("consignee_phone")
    private String consigneePhone;
    @Schema(description = "收件人所在区域ID")
    private Long consigneeAreaId;
    @Schema(description = "收件人地址")
    private String consigneeAddress;
}
